<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>

<!DOCTYPE HTML>
<html>
  <head>
    <title>My JSP 'testout.jsp' starting page</title>

	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<!--
	<link rel="stylesheet" type="text/css" href="styles.css">
	-->
	<%
	  out.print("<script>");
	  out.write("alert('张超是个大帅哥！');");
	  out.print("</script>");
	 %>
  </head>
  
  <body>
    This is my JSP page. <br>
    <% 
    
    out.println("<h1>其实张超也才是安徽第二帅</h1>");
    String[]ar={"明天","下午","举行","知识竞赛"};
    for(String s:ar){
     %>
     <h3 style='color:red;'><%=s%></h3>
     <%} %>
  </body>
</html>
